<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>
        {% block title %}
        {% endblock %}

        {% block link %}
        {% endblock %}

        {% block script %}
        {% endblock %}

    </title>
</head>
<body>
    <head>头</head>
    <div>
        {% block main %}

        {% endblock %}
    </div>
    <footer>尾</footer>
</body>
</html>